Fix a C99ism
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 7 Jun 2006 12:59:05 +0000 (12:59 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 7 Jun 2006 12:59:05 +0000 (12:59 +0000)
ChangeLog
ChangeLog.pre-2-10
modules/printbackends/cups/gtkprintercups.c

index 4b8694d2333145b77b6c059426dd9f5b2d3e6342..3ac38a5e02f14892cecaefb85256cbb5ba9bc910 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackends/cups/gtkprintercups.c 
+       (gtk_printer_cups_finalize):  Fix a C99ism.
+       (#344123, Jens Ganseuer)
+
 2006-06-06  Behdad Esfahbod  <behdad@gnome.org>
 
        * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Correct
index 4b8694d2333145b77b6c059426dd9f5b2d3e6342..3ac38a5e02f14892cecaefb85256cbb5ba9bc910 100644 (file)
@@ -1,3 +1,9 @@
+2006-06-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackends/cups/gtkprintercups.c 
+       (gtk_printer_cups_finalize):  Fix a C99ism.
+       (#344123, Jens Ganseuer)
+
 2006-06-06  Behdad Esfahbod  <behdad@gnome.org>
 
        * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Correct
index 89713339e717f1764217ffe94ccab34b7609e1f5..2a8a5355f41b183331dacf6cdf2131ee9e78caea 100644 (file)
@@ -79,9 +79,11 @@ gtk_printer_cups_init (GtkPrinterCups *printer)
 static void
 gtk_printer_cups_finalize (GObject *object)
 {
+  GtkPrinterCups *printer;
+
   g_return_if_fail (object != NULL);
 
-  GtkPrinterCups *printer = GTK_PRINTER_CUPS (object);
+  printer = GTK_PRINTER_CUPS (object);
 
   g_free (printer->device_uri);
   g_free (printer->printer_uri);